ArcGIS Runtime SDK for WPF - Library Reference
GetServiceAsync(String,GPServiceType,Action<LocalGeoprocessingService>) Method
See Also 
ESRI.ArcGIS.Client.Local Namespace > LocalGeoprocessingService Class > GetServiceAsync Method : GetServiceAsync(String,GPServiceType,Action<LocalGeoprocessingService>) Method

path
serviceType
callback
This will either reuse an existing service for the supplied path, or make a new service if its not already running.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Sub GetServiceAsync( _
   ByVal path As String, _
   ByVal serviceType As GPServiceType, _
   ByVal callback As Action(Of LocalGeoprocessingService) _
) 
C# 
public static void GetServiceAsync( 
   string path,
   GPServiceType serviceType,
   Action<LocalGeoprocessingService> callback
)

Parameters

path
serviceType
callback

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.